Gem::Specification.new do |s|
  s.platform     = Gem::Platform::RUBY
  s.name         = "rails-i18n"
  s.version      = "8.1.0"
  s.authors      = ["Rails I18n Group"]
  s.email        = "rails-i18n@googlegroups.com"
  s.homepage     = "https://github.com/svenfuchs/rails-i18n"
  s.summary      = "Common locale data and translations for Rails i18n."
  s.description  = "A set of common locale data and translations to internationalize and/or localize your Rails applications."
  s.license      = "MIT"

  s.files        = Dir.glob("lib/**/*") + Dir.glob("rails/locale/*") + Dir.glob("rails/ordinals/*") +
                   Dir.glob("rails/pluralization/*") + Dir.glob("rails/transliteration/*") +
                   %w(README.md CHANGELOG.md MIT-LICENSE.txt)
  s.require_path = "lib"
  s.required_rubygems_version = ">= 1.8.11"
  s.required_ruby_version     = ">= 3.2.0"

  s.add_dependency("i18n", ">= 0.7", "< 2")
  s.add_dependency("railties", ">= 8.0.0", "< 9")
  s.add_development_dependency "rspec-rails", "~> 3.7"
  s.add_development_dependency "i18n-spec", "~> 0.6.0"
  s.add_development_dependency "i18n-tasks", "~> 0.9.37"

  s.metadata["changelog_uri"] = "#{s.homepage}/blob/master/CHANGELOG.md"
end
